<?php
include_once('common/header.php');
$intPage	= $objRequest->getParam('page',1);
$intLimit	= FORTUNE_LIMIT;
$intOffset	= ($intPage - 1) * $intLimit;
$intTotal	= 0;
$objProduct = new Product();
$arrFortune	= $objProduct->getAllForFortune($objUser->id,$intOffset,$intLimit,$intTotal);
$arrPropose	= $objProduct->getAllForPropose($objUser->id);
$this->view->arrFortune	= $arrFortune;
$this->view->arrPropose	= $arrPropose;
$this->view->intTotal	= $intTotal;
$this->view->intOffset	= $intOffset;
$this->view->intLimit	= $intLimit;
$this->view->intPage	= $intPage;
?>